let proxyObj={}


proxyObj['/']={

  //websocket
  ws:false,
  //目标地址
  target:'http://localhost:8088',
  changeOrigin:true,
  //不重写请求地址
  pathRewrite:{
    '^/':'/'
  }
};


proxyObj['/ws']={
  ws:true,
  target: 'ws://localhost:8088'
};


//代理转发
module.exports = {
  lintOnSave:false,
  devServer:{
    host:'localhost',
    port:8080,
    proxy:proxyObj
  }
}
